//创建服务器
const http = require('http');

const serverhandler = require('./app')

const PORT = 8080;

const server = http.createServer(serverhandler)

server.listen(PORT,()=>{
    console.log("server runing in 8080");
})